from odoo import api, fields, models

# 引入odoo内置的板块

class Merge_bill(models.Model):
    _name = 'merge.bill'
    # 相当于给此模型一个唯一id，之后很多地方需要用到
    _description = '合并账单'
    # 房号
    room_number = fields.Char(
        string='房号',
        required=True
    )
    # 宾客姓名
    guest_name = fields.Char(
        string='宾客姓名',
        required=True
    )
    # 押金总额
    total_deposit = fields.Char(
        '押金总额',
        required=True
    )
    # 消费总额
    total_consumption = fields.Char(
        '消费总额',
        required=True
    )




